package dk.dashboardFP.panels.displayPanel {
	import dk.dashboardFP.modelDataHandler.properties.BooleanProperty;
	import dk.dashboardFP.panels.subPanels.AbsDashboardFPSubPanel;
	import dk.dashboardFP.panels.subPanels.SubPanelModel;

	/**
	 * @author josef
	 */
	public class DisplayPanelControlModel extends SubPanelModel {
		private var _oDisplayEditorEnabledProp : BooleanProperty;
		
		public function DisplayPanelControlModel(oSubPanel : AbsDashboardFPSubPanel) {
			super(oSubPanel);
		}

		override protected function setup() : void {
			super.setup();
			
			_oDisplayEditorEnabledProp = _oMDH.get_oBooleanProperty("editorEnabled", false);
		}
		
		public function get oDisplayEditorEnabledProp() : BooleanProperty {
			return _oDisplayEditorEnabledProp;
		}
	}
}
